package com.demo.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.demo.entity.CustomBase;
import com.demo.entity.CustomCrud;
import com.jweb.annotaion.JRemark;

public interface ICustomDao {

	void delCustomBaseById(int id);

	void delCustomCrudByPId(int pId);

	void editCustomBean(CustomBase base);
	
	@JRemark(remark = "新增自定义页面基本配置信息", key = "Id")
	void addCustomBase(CustomBase base);

	@JRemark(remark = "新增自定义页面详细全部信息", key = "pId")
	void addCustomCrudList(@Param("list") List<CustomCrud> list, @Param("pId") int pid);

	@JRemark(remark = "获取自定义页面基本配置信息", key = "id")
	public CustomBase getCustomBase(int id);

	@JRemark(remark = "获取自定义页面详细 指定类型配置信息", key = "pId")
	public List<CustomCrud> getCustomCrudList(@Param("pId") int pId, @Param("operatType") int operatType);
}
